import ava from 'ava';
import user from '../../src/models/user'

console.log(user);
ava(t=>{
   user.getByUsername('123')
       .then(exist=> console.log(exist))
       .catch(error=>{console.log(error)})

});